package com.li.service;

import com.li.entity.User;
import com.li.mapper.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserService {
    @Resource
    UserMapper userMapper;


    public User getUser(String username) {
        return userMapper.getUser(username);

    }
}
